QuickTime Music Architecture

| Previous | Chapter Contents | Chapter Top | Next |

Complete Instrument Information List

The complete instrument information list contains a list of all atomic instruments supported by an instrument component. It is defined by the InstCompInfo data type.

struct InstCompInfo {
    long                        infoSize;
    long                        GMinstrumentCount;
    GMInstrumentInfoHandle      GMinstrumentInfo;
    long                        GMdrumCount;
    GMInstrumentInfoHandle      GMdrumInfo;
    long                        nonGMinstrumentCount;
    nonGMInstrumentInfoHandle   nonGMinstrumentInfo;
    long                        nonGMdrumCount;
    nonGMInstrumentInfoHandle   nonGMdrumInfo;
};
typedef struct InstCompInfo InstCompInfo;
typedef InstCompInfo *InstCompInfoPtr;
typedef InstCompInfoPtr *InstCompInfoHandle;
infoSize
The size of this structure in bytes.

GMinstrumentCount
The number of General MIDI instruments.

GMinstrumentInfo
A handle to a list of General MIDI instrument information structures.

GMdrumCount
The number of General MIDI drum kits.

GMdrumInfo
A handle to a list of General MIDI instrument information structures.

nonGMinstrumentCount
The number of non-General MIDI instruments.

nonGMinstrumentInfo
A handle to the list of non-General MIDI instruments.

nonGMdrumCount
The number of non-General MIDI drum kits.

nonGMdrumInfo
A handle to the list of non-General MIDI drum kits.


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |